<template>
  <div class="app-container">
    <section class="router-container">
      <router-view />
    </section>
  </div>
</template>

<script setup lang="ts">
  /*import Header from './components/Header.vue';*/
</script>

<style lang="scss" scoped>
  .app-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    overflow: hidden; /* 防止内容溢出 */
    box-sizing: border-box; /* 确保尺寸计算包含内边距 */
  }

  .router-container {
    width: 100%;
    flex: 1;
    padding: 15px 5px;
    overflow: hidden; /* 防止内容溢出 */
    box-sizing: border-box; /* 确保尺寸计算包含内边距 */
  }
</style>
